import time

import tkinter
import time

from tkinter import *

def sleep_time():
    time.sleep(1)

root = tkinter.Tk()
root.geometry('400x200')

menu = Menu(root)
filename = Menu(menu)
for i in {'个性签名': 'jfcs.ttf', '连笔签': 'qmt.ttf', '潇洒签': 'bzcs.ttf', '草体签': 'lfc.ttf', '合文签': 'haku.ttf',
          '商务签': 'zql.ttf', '可爱签': 'yqk.ttf'}:
    filename.add_command(label=i)
menu.add_cascade(label='签名选择', menu=filename)
root['menu'] = menu
radiobutton = Radiobutton(menu)


root.mainloop()






